package com.tjmc.recruit.finance.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.recruit.admin.api.enums.PlatUserTypeEnum;
import com.tjmc.recruit.finance.api.enums.MemberStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 会员表
 *
 * @author recruit
 * @date 2024-11-25 14:16:59
 */
@Data
@TableName("member_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "会员表")
public class MemberInfoEntity extends Model<MemberInfoEntity> {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 用户ID
	*/
    @Schema(description="用户ID")
    private String accountId;
	/**
	 * 用户名
	 */
	@Schema(description = "用户名")
	private String accountName;

	/**
	 * 会员类型：个人、企业
	 */
	private PlatUserTypeEnum memberType;

	/**
	* 会员状态
	*/
    @Schema(description="会员状态")
    private MemberStatusEnum status;

	/**
	* 权益配置ID
	*/
    @Schema(description="权益配置ID")
    private Long equityId;

	/**
	* 会员开始时间
	*/
    @Schema(description="会员开始时间")
    private LocalDateTime startTime;

	/**
	* 会员结束时间
	*/
    @Schema(description="会员结束时间")
    private LocalDateTime endTime;

	/**
	* 创建时间
	*/
    @Schema(description="创建时间")
    private LocalDateTime createdAt;

	/**
	* 修改时间
	*/
    @Schema(description="修改时间")
    private LocalDateTime updateAt;
}
